package cs342.uwosh.edu.QuizApp.storage;

import android.app.Activity;
import android.widget.LinearLayout;

public abstract class Question {
	private String description;
	private boolean correct;
	
	public Question(String description) {
		this.setDescription(description);
		correct = false;
	}
	
	public abstract void display(Activity a, LinearLayout layout);
	public abstract void checkAnswer();
	public abstract void showAnswer();
	public abstract String getAnswer();

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public boolean isCorrect() {
		return correct;
	}

	public void setCorrect(boolean correct) {
		this.correct = correct;
	}
	
}
